package iterlib;

/** Tuples */
public class Tuples {
    public static class Tuple2<A, B> {
        final public A a;  final public B b;
        public Tuple2(A a, B b) { this.a = a; this.b = b; }
    }

    public static class Tuple3<A, B, C> {
        final public A a;  final public B b;  final public C c;
        public Tuple3(A a, B b, C c) { this.a = a; this.b = b; this.c = c; }
    }

    public static class Tuple4<A, B, C, D> {
        final public A a;  final public B b;  final public C c; final public D d;
        public Tuple4(A a, B b, C c, D d) { this.a = a; this.b = b; this.c = c; this.d = d; }
    }
}
